﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;

namespace Dryricenet.houTai
{
    public partial class food_Delete : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int id = Convert.ToInt32(Request.QueryString["FoodID"]);
                foodBLL.deleteBLL(id);
                Response.Redirect("food_CX.aspx");
            }
        }
    }
}